package com.wpp.javabean;

import java.sql.Time;

public class Books {
    private int id;
    private String bookName;
    private String personName;
    private String price;
    private Time bookDate;
    private String press;

    @Override
    public String toString() {
        return "Books{" +
                "id=" + id +
                ", bookName='" + bookName + '\'' +
                ", personName='" + personName + '\'' +
                ", price='" + price + '\'' +
                ", bookDate=" + bookDate +
                ", press='" + press + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public Time getBookDate() {
        return bookDate;
    }

    public void setBookDate(Time bookDate) {
        this.bookDate = bookDate;
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press;
    }
}
